package com.qinglei.recoup.system.dao;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.qinglei.recoup.system.domain.Room;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qinglei.recoup.system.pojo.RoomShowVO;
import org.apache.ibatis.annotations.Param;

/**
 * @author syp
 */
public interface RoomMapper extends BaseMapper<Room> {

    IPage<RoomShowVO> showPageRoom(Page<RoomShowVO> page,@Param("floorId") Integer floorId);

    String selectNameWithParent(Integer roomId);
}
